using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using emp.BLL.SysManage;

public partial class systemmanage_user_user_province_del : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
      
        if (!this.Page.IsPostBack)
        {
            string pro = "";
            int user_uid = 0;
            string page = "";
            if (Request["pro"] != null)
            {
                pro = Request["pro"].ToString().Trim();

            }
            if (Request["uid"] != null)
            {
                user_uid = Convert.ToInt32(Request["uid"].ToString());
            }
            if (Request["cur_page"] != null)
            {
                page = Request["cur_page"].ToString();
            }
            User user = new User();
            user.delProvince(user_uid, pro);

            new emp.BLL.BCity().DeleteCi(user_uid.ToString(), pro);


            Response.Redirect("user_province.aspx?cur_page=" + page + "&UserID="+user_uid);
        }

    }
}
